<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class Share extends Model
{
    //
    protected $table = "share";
    public $timestamps = false;

    /**
     * 获取分享信息
     * @param $id
     * @return mixed
     */
    public static function getInfo($id) {
        $res = self::where('id',$id)->first();
        return $res;
    }
}
